<#assign ctx=request.contextPath />
<#import '${ctx}/sys/include/head.html' as d />
<#import '${ctx}/sys/include/info.html' as i />
<#import '${ctx}/sys/include/table/select.html' as select />
<!DOCTYPE html>
<html>
<head><@d.head title="数据源信息" />
  <link rel="stylesheet" href="${ctx}/resource/css/dtree.css">
  <link rel="stylesheet" href="${ctx}/resource/css/font/dtreefont.css">
</head>
<@i.add url="${ctx}/biz/data/ds/add">
<form class="layui-form">
	<div class="layui-form-item">
		<label class="layui-form-label">数据源名</label>
		<div class="layui-input-block">
			<input type="text" name="name" placeholder="数据源名" autocomplete="off"
				class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">数据仓库选择</label>
		<div class="layui-input-block">
			<@select.table name="dwId" show="dwName" url="${ctx}/biz/c/p/dw-select-table" />
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">路径</label>
		<div class="layui-input-block">
			<@select.table name="path" show="path" id="name" url="${ctx}/biz/c/p/ds-indices-select-table" />
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">说明</label>
		<div class="layui-input-block">
			<input type="text" name="comment" placeholder="说明" autocomplete="off"
				class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-input-block">
			<button class="layui-btn" lay-submit lay-filter="save">保存</button>
			<a class="layui-btn layui-btn-primary" id="cls_btn">关闭</a>
		</div>
	</div>
</form>
</@i.add>
</html>
